﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ExcelProject.Model
{
    /// <summary>
    /// 合并单元格地址
    /// </summary>
    public class MergedAddress
    {
        /// <summary>
        /// 坐标(字母+数字) A1,C3
        /// </summary>
        public string Address { get; set; } = string.Empty;
        /// <summary>
        /// 起始(字母+数字)
        /// </summary>
        public string Begin { get; set; } = string.Empty;
        /// <summary>
        /// 结束(字母+数字)
        /// </summary>
        public string End { get; set; } = string.Empty;
        /// <summary>
        /// 合并类型
        /// </summary>
        public CellMergeType Type { get; set; }

        #region 数字坐标，配合Type进行使用
        public int StartRow { get; set; }
        public int StartColumn { get; set; }

        public int EndRow { get; set; }
        public int EndColumn { get; set; } 
        #endregion

    }
}
